﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Atendimento.Master" Theme="Adm" AutoEventWireup="true" CodeBehind="relAdesaoEnf.aspx.cs" Inherits="PROAD.admin.Relatorio.relAdesaoEnf" %>
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit"  Assembly="AjaxControlToolkit"%>
<asp:Content ID="Content1" ContentPlaceHolderID="IncludeHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="IncludeTitulo" runat="server">
<h1>Relatório de Adesão dos Enfermeiros</h1>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="IncludeCaminho" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="IncludeConteudo" runat="server">
    <center>
        <table>
            <tr>
                <td>
                    Data Inicial
                </td>
                <td>
                    Data Final
                </td>
                <td>
                    UF
                </td>
                <td colspan="2">
                    Filtro
                </td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtDtInicial" runat="server"></asp:TextBox>
                    <asp:CalendarExtender  Enabled="True" ID="txtDtInicial_CalendarExtender" runat="server" TargetControlID="txtDtInicial" PopupButtonID="imgCalendar" Format="dd/MM/yyyy">
                    </asp:CalendarExtender>
                    <asp:ImageButton ID="imgCalendar" runat="server" ImageUrl="~/common/imagem_sis/imagem_sis/calendario.png" />
                </td>
                <td>
                    <asp:TextBox ID="txtDtFinal" runat="server"></asp:TextBox>
                    <asp:CalendarExtender  Enabled="True" ID="txtDtFinal_CalendarExtender" runat="server" TargetControlID="txtDtFinal" PopupButtonID="imgCalendar1" Format="dd/MM/yyyy">
                    </asp:CalendarExtender>
                    <asp:ImageButton ID="imgCalendar1" runat="server" ImageUrl="~/common/imagem_sis/imagem_sis/calendario.png" />
                </td>
                <td>
                    <asp:DropDownList ID="ddlUf" runat="server" DataTextField="NO_SIGLA" 
                        DataValueField="CO_UF" >
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:DropDownList ID="ddlFiltro" runat="server">
                        <asp:ListItem Text="Prescrição" Value="0"/>
                        <asp:ListItem Text="Prontuário" Value="1" Selected="True"/>
                    </asp:DropDownList>
                </td>
                <td>
                    <asp:Button ID="btnBuscar" runat="server" Text="Buscar" OnClick="btnBuscar_Click"/>
                </td>
            </tr>
            <tr>
                <td colspan="4">
                    <br /><br />
                    <asp:GridView ID="gdrAdesao" runat="server" AutoGenerateColumns="false" 
                        SkinID="GridAdm" Width="100%" 
                        EmptyDataText="Nenhum resultado para a pesquisa." 
                        EmptyDataRowStyle-ForeColor="Red" AllowPaging="True" >
                            <HeaderStyle HorizontalAlign="Left" />
                        <Columns>
                            <asp:BoundField DataField="QTD_ENFERMEIROS_ADERIDOS" HeaderText="Qtd. Efermeiros Aderidos" />
                            <asp:BoundField DataField="QTD_ENFERMEIROS" HeaderText="Qtd. de Efermeiros" />
                        </Columns>
                    </asp:GridView>  
                </td>
            </tr>
        </table>
    </center>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="IncludeRodape" runat="server">
</asp:Content>
